<template>
  <el-form
    class="filter-container"
    ref="egForm"
    :model="egForm"
    label-width="85px"
  >
    <el-col :span="8">
      <el-form-item label="审批人">
        <el-select v-model="value" placeholder="请选择" style="width:100%;">
          <el-option
            v-for="item in options1"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
      </el-form-item>
    </el-col>
  </el-form>
</template>
<script>
export default {
  //提交审批弹框
  name: "submitApproval",
  props: ["rowaa"],
  data() {
    return {
      formData: ""
    };
  },
  created() {
    this.getData();
  },
  watch: {
    rowaa: "getData"
  },
  methods: {
    getData() {
      //从后台获取数据逻辑 model.CacheModel.get('api/' + this.rowaa + '.json')
      //通过this.rowaa就可以获取传过来的值
      this.formData = 333;
    }
  }
};
</script>
